package SpringCloudBase.desc;

import SpringCloudBase.vo.UserVO;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @ClassName config
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/4/1 12:50
 */
@Component
public class FeignHtryixClientCpnfig implements FeginClient01{
    @Override
    public UserVO getOrder(Long id) {
        UserVO userVO= new UserVO();
        userVO.setId(-100L);
        userVO.setDate(new Date());
        return userVO;
    }

    @Override
    public UserVO get_user(UserVO userVO) {
        return userVO;
    }
}
